Example of a listener for an arbitrary config