Tweak to make toggles available the same way for server- or client-side rendering