Fix runtime/compile error when accessing branding