Automatically set the application namespace.