Simplify ResourceWatcher interface to one function.