The problem of dynamic inheritance