Make PatternConsolidationCommand work again.
Improved PatternConsolidationCommand.
Centralize constants.
Message relations via clustering.