Changes in constructor, regular expressions and error page.