Fix typos and style function calls.