Turns the pipe modes into defines