Support custom device state creators.