Trim and lower codes.