removed remaining photo API bits