Updated to allow for implicit inheritance from both source and destination