Add support for pattern pub/sub