TypeGetter class added; examples fixed to support new Environemtn API