Fixing API registration
Jira: WP-1078