Improved docs and added benchmarks.