Cache program length for performance.
Update version in manifests.