Add check for missing mapping.
Add check for supper class mapping.