Added necessary modifications to the MT source to enable routing.