Fixing typos, improving micro middleware