Issue #15. Branch Iss15. Update: Extracted common functionality from PriorityContainer and encapsulated it in the common superclass.