Fix package warnings and documentation.