API, test, and documentation updates