cache class names in properties
fix specs broken when made a global default
Merge pull request #400 from subvertallchris/cacheclass

cache class names in properties