Implement and test command aliases.

Closes #26.