fix AST forward declarations
Fix ici.cpp methods visibility