solution to #612 - prohibit forward declarations in class declaration
section