Imported Pattern Router from add-on.

This has been around for a while.