Remove before all hook