TODO tests.
Add command macro, tests for @command and @command(Range).
Add valency function.
Generate valency function in @command.