The associated deletePhoto function can probably be removed too