Added a forward declaration of IsLineTrain().