Bugfix state params - optional for all types - issue #131

-1 open issue ;-)