Fix PhotosRepository binding