Adds equals to Dummy types to support tests for #343.