Clean up and additional configuration for pipeline.