Add support for Trie based routing