Resolve naming collision in output functions.

Closes #23.