Use vars instead of instance variables whenever possible, see issue #17