Support removing listeners from the exposed api