Revert "inheritRefs=true"

This reverts commit b9937edf235cea0ab2048df2c8e0bad5799f2f9d.