Working on hierarchical router api and bugs.