add getContentTypes accessor