add foo.bar syntax as a shortcut for foo.bar()