Added support for less.

Fixes #1