Remove last use of Control.Monad.Error