Pass state params to role definition
Merge pull request #6 from bezoerb/stateParams

Pass state params to role definition