Updated to version 1.4.0 in preparation for release.