It would be great if you could document all the possible values for the `state` argument.