Added a pragma to not generate a wrapper for the var type.
No more memory leak warnings.