Create abstract Object class that prevents from using undefined properties