Restore versions of depends declarations.