Add class PhotoRecord.