Cleaned the camera class.