[Refactor] Add function to unload the unused impact function.