Allow passing a callback to addClient()