Move shared attributes out of parser since it's needed by many "classes"