Fix UI bridges for -Weffc++