If class has both a public field and a public method with the same name, (.foo x) defaults to the method, the field can be obtained with (.-foo x)