Membranes as well as a methods of treating membranes are disclosed. The
method of treating a membrane includes contacting the membrane with a
first solvent, contacting the membrane with an inert solvent, and
contacting the membrane with an amine reactive compound. The first
solvent includes a solvent having a Hansen solubility parameter in a
range from about 10.0 to about 18. The membrane includes a polymer having
an amine group.