[Bug 915686] Add equality checking.