Support re-entrancy.