- added optional "class methods in
globals list" as in pull request #60 but with
different implementation