More docs and cleanup of the API