Added code from archives.