Use asset sync only when defined.