Move calls above variants to fix build