Replaces methods that create an immutable collection with methods that create a mutable one.