Add support for converting to lower or uppercase.