Add pool/add and pool/remove API methods.