Using helper classes to filter variables, tries ES and fallback to Magma