Improve requireAttrRaw using maybe similar to ignoreAttrs