Cleaned up code that does 404 handling for nonexistent controllers.