Object-oriented programming in 4D: Manage class inheritance