Fix record inheritance from another module.