Replace monads interface.
removed second monads version.