Updates to camera code.