Added ability for the developer to specify a function that determines which Client's to execute callbacks on.