Little improvements to MValue.toLiteral