Fix inheritsFrom