Added more examples to README.
Added missing arities.
Added more tests and some cleanup.