Bumped parser_version to 3
Added support for new closure and destroy attributes from which we can determine which callback a parameter belongs to.