Add parameter typing.
Fix subscriber factory support.