Enhanced to handle redirection requests.
Refactored to remove the redundant datum.
Changed the compiler options to detect duplicateds.