Migrating APIs

To migrate APIs, do the following changes: