__getattr__ refinement