Update docs.
Fix typedef.