ambient modules with variables and functions. (we can't check non-exported :()
refactored object as a template