Removed some redundant code.

References to AttrPath (a class contained in the Signal class) can be acquired from any signal instance, so the class variable 'attrpath' is not necessary. Took out the reference so I could refer directly to the AttrPath class instead.