Added some GameObject.cpp logic.