Fix namespaced controllers.

Closes #5.