Rebuild of API