Moved checkPlain() and htmlRaw() to Kernel and renamed them to htmlEncode/Decode.