Phenobarbital is used to treat insomnia.