Add compatibility for UIAppearance