Added some regular monadic functions (in addition to the pipes).