ENH: Reducing passing shared pointers by value in Attribute
Converted a bunch of calles to use pass by reference which should reduce overhead in the call.
Converted a bunch of calles to use pass by reference which should reduce overhead in the call.