Allow a state option to be specified.