WMSProcessor refactoring.