Add "getattr" implementation