Fixes and documentation.