add strict api toggling