Also based on his recommendation removed parts from constructor and added them to the decode method that get singleton references for paramlookup and variable dictionary lookup. fixes#6412
Change-Id: Ie3554842b9f029dd62ff73f5edc928bc03e012e4
Former-commit-id: 2ca313195e2e610d4a198884f45dde37ebecfbc6
Made changes suggested by Ben S.
Made other changes suggested by Ben S.
Made changes suggested by Richard Peter.
Made change from Ben S.
Change-Id: Ic7eb146c30d8024b34782187318e79882fc963bd
Former-commit-id: a941dd68c3c5b42671ad78900d6d8f8231d70810