Fix namespacing on api controller