Make method parameters and variables immutable.