class X sig BindMethod var _command as BindMethod cue init(command as BindMethod) base.init _command = ref command # .error. Only methods can be referenced, not parameters. x = X() _command = ref x.foo # .error. Cannot find a definition for "foo" bad = BadClassName() # .error. Cannot find "BadClassName". _command = ref bad.method # use to throw exception in compiler