Add setters to photo model.