Fixes so the create new empty object method works