move object methods to Objects class