Fix undefined 'equals' reference when registering watchers with
equality set to true.