Minor improvements.
Added example usage.