Remove monad behavior from error_m