fix documentation and error messages for OverrideAttributes