Remove Lua templates.
Simplify ast package.