We can use the EntityDictionaryBase class and place all the elements that reuse the ensureFamixElement method (simple building blocks) and then we can create separate classes that will inherit from this EntityDictionaryBase to separate and encapsulate some more difficult logic and reuse these simple blocks