Support custom default state params.
Do not allow empty names in state regexp.