Merge pull request #400 from subvertallchris/cacheclass

cache class names in properties
makes classname caching a global default