Added multi-objective optimization.