Fixing inheritance snippets