Changes according to refactoring in genetic-algorithm module