Override the eql? method and hash to compare array's of entities.