Tools for the qdap package.