Fixed assignments in constructor.

Change-Id: Ibd261c6ca8fdb88404f1000c2b216edd9ed35ec6