Added "dec" as AST.
Added comments.
Minor AST API renaming.