Removing monad transformer stack