Charj: add automatic forward declarations for class variables