Add a pipeline process to any method