Added WebRouter#isEmpty() method.
hide patterns attribute. And added getter method.