Added GroovySandbox.run to stop whitelists from being consulted on methods defined in the script itself.