Adapting and upgrading Router, Request and Util classes.