Added a few code transformation functions.