Add ready hooks and pass pipeline into callbacks