remove extra argument to AbstractSegment::validateSegment
adding a better AbstractComponent class