use separate class for type scopes
Don't warn, when load-binding is used only for typedefs
about the -> operator.