Allow the camera functions to take the camera object directly