Explicitly export some vars to hooks