Added a default 404 view and allow for a custom 404 view to be defined.