Modern DSLR camera lenses are full blown embedded computers controlling mechanical actuators (focus motor, aperture blades, etc.) and communicating lens information to the camera's CPU (aberration corrections, vignetting corrections, etc.). The days of lenses just being collections of mechanical cams for moving glass elements back and forth disappeared a great many years ago.