Hook up api to service methods