Sessions and Swift predef