Some helpers I wrote for several Codiad plugins