Added toSource methods and uneval support