Added subsolution masking. Fixed Component::addSolution().