Pipes should have a similar annotation-based system to commands or rewards. In fact, I can probably build on the same code.