moving AttributeProxy out of RObject