Hide unsafe comparator factory.
Change static method name to fix conflict.
Add javadoc and test.
Fixes issue #2.