Add layout for namespaces.
Fix application controllers.