Add error/notfound/static handlers