Fixed no API-instace being created