Migrated API queries.