Allow custom subscriber class to be a parameter