deleted classes Photo and Root