Added support for tab.

Fixes #21.