Reduce code repetition.
Pull subscriber list into separate module.