More callback features for restricting pub/sub, rpc handling