Moved api.provides outside