Controlling Defects in Double-Layer Cuprates by Chemical Modifications