Created separate snippets for typedef with and without common derives.