Add versions and version checking to the libraries.