Moved some functionality to GraphicEngine instead.