This could be replaced by Optimizable::dimension()