Class parameter fix

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  |no
| BC breaks?    | no idea
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |  #13, #34 
| License       | MIT
| Doc PR        | not needed