Update class refs to fix #446
Merge pull request #447 from SemanticMediaWiki/refs

Update class refs to fix #446