Corrected objects to use prototype functions instead of instantiated functions.