Functional inheritance