Fixes a scope issue in dox/dox