Add handler for Scalar values in preHydrate.