Move basic api attrs to api module