Use delegation instead of completion handler. Switch to mock environment.