A collection of Lua functions I want to write just once.