Adds option to set error correction level.