fix function declaration support
0.2.2