Added transit-method code.