Little optimization of template usage in lua::Script.