Add ghost arguments to exported functions to access lexical variables which are outside the function.
Add ghost arguments to exported functions to access lexical variables which are outside the function.

SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre