Changed scope of some methods in class TestScript.