Pipeline: move extensions to their own module.