Changes to support plot region listeners (work in progress).