Only setting the controller namespace if it's been passed in