Make some locals immutable.