Locomotive designs used by multiple railways