Remove obsolete code from TPTScriptInterface