Add methods for types in solr_document