Allow parent class mapping

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no - in most cases
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #56 
| License       | MIT
| Doc PR        | not yet