Improved AbstractScalarField implementation