Rename pipe states so they are more mnemonic