Fixed a few things to allow demo site to use custom photo model.