Add compatibility option for old-style inheritance