Added List merge with inheritance