Update object methods to ensure that prototypes are handled properly