Refactored Towny Hook.