get a class
and another one
IMHO both references to pi should throw a MissingPropertyException as they have capitalised first letter. Or both of them should not. Now first reference works while the second ref does not.
BTW if we provide explicit 'public' modifier to pi, both references fail.