Cleaned up GameObject code.