using `obj` instead of `app` since it is a global namespace now.