Improvements to declarative syntax processing and add collate component.
Add test for collate reset input