Fix some aspects of packaging and improve documentation.