Added print method for channels, and added contexts to valve selectors.