Added support for distinct.
Added description.