The procedure I used was to evacuate the old master of DOT 3, fill it with denatured alcohol, pressure bled that through all four wheels, then break the whole system down as much as possible and blow out all lines.
Rebuilt all calipers, place new master, fill with DOT 5 silicone, pressure bled...