Removed unnecessary import.
Added monadic versions of Transform and Reduce.