Access methods and variables from a worker as if they were inline.