add option to load a different class for an object to be pushed