Need to update logic in equals methods to check against passed object class. Instead of:
if ( o == null || getClass() != *ProcessedUnit.class )
do next check:
if ( o == null || o.getClass() != *ProcessedUnit.class )