Lookup algorithms
Bug fix
Attributes were not considered while collecting stats.
Equals methods added.