Updating the documentation.
Added unique method.
Added some tests.