Internal fix for API, a bit more JavaDoc.
Fix compilation.