Fixed diamond inheritance on LinearSystem.