Removing unused calls in GraphicsDevice.