Implement __getattr__

closes #402