Further reference counting work.