Give more control over how to map the drawing of samples to the user. In doing so restructure the way minimization works.