Adding back in the error and not found templates