handler type is `all` by default