Remove direct assignments of context attributes

Context attributes should be set by its __init__ only.

Change-Id: I7c5b0b21e27384adec7049a6f5bb8454fa81ffb8
Merge "Remove direct assignments of context attributes"