Support passing an app to namespace