Variables passed by reference need to be initialized beforehand. Change-Id: Ic29e3b7f6e04ef5bb153a2e6bd81419e1955935b