Fix typo.
Fix missing imports.
Add missing accessors.
Add tests.
Update docs.