Make the api not depend on the mod files