Add basic code for pipeline annotation