Fixing some APIS editor bugs.