Replaced transport instance attribute with local var