Fix typo.
Add diagnostics.