Added initial consolidator code.