Prepared for CRAN-upload.