Implement #21 Add possibility to override/extend comparison behavior.
Merge pull request #22 from Aivean/master

Implemented #21: Add possibility to override/extend comparison behavior