This is needed so that we know which sources to export to lua, and a huge switch or something is just too ugly.