Fix try/catch and namespace submodules