Remove dependency on rdfs:Resource.