Add `plainText` back. Fix some types. Fix a bug in `mergeEither`.