I have a BaseClass and several ChildClasses. I BaseClass has a doSomething() function, which I have to override. I cannot change BaseClass or any ChildClass