Version 0.4.0 - CRAN pre-release version