Improved self-documentation. Added example usage.