Refactor route blacklisting.