Making wrapHTMLError available on the keystone instance