Revert "Use the dependency object as the key in the inherited_options hash"

This reverts commit c8d3b39165bb11799d7849ee13a3559ad0bd63f4.