removed propertyattr2 and functionattr2