LPS-35397 Remove usage of TemplateContextType.EMPTY.
LPS-35397 Clean up parameter list.
LPS-35397 Remove TemplateContextType.
LPS-35397 Apply changes.
LPS-35397 Source formatting
LPS-35397 Fix unit tests
LPS-35397 Undo 116a827b22ca852c1fe10eb67d1f2da922088d90, as it breaks PACL. helperUtilities needs to be prepared outside doPrivileged.
LPS-35397 SF