add Function object properties to tree