Make addHash and removeHash chainable