Added Python doit support and 404 handling.