Add: support for const type "const<type>";
Fix: a minor memory leaking bug.