Adds support for taking photos.