Implemented GameObject functionality.