CRM-12887 switch to use load function