Fixed static context issue.