Use __getattr__

I'm not sure this is the appropriate modifications.  From my point  I think this is cleaner