Fix .exclude in the API