Was setting property rdfaToType of wrong class