Removed some old code from camera