The name of the attrOnly parameter doesn't match the name in the header file (isAttr).  It isn't clear from either exactly what it means.