add getContentTypeByName accessor