Add code generator for statements