Docs about writing custom pipeline functions