Add nested resource support to namespace-{handler,dispatch-table} and a test