Railway and tramway locomotives and rolling stock and associated parts