Revert "Added a rescan hook."