Allow "resolve()" to include self.
Pruning unused code.