Added auto-gensym dependency.
Implemented guards on match macro.
Fix function reference in class macro.