Running current code for Router section results in following error:
Cannot modify header information - headers already sent
It is caused by echo statements in route resolvers and can be fixed if resolvers return content instead.
As it is, one cannot finish this section without an exception page. Is this behavior intentional?