Pass in namespace settings when creating controller.