Fixed some import paths in the api.