Remove unneeded parameters from implode calls. Fix up docs...
Normalize session flag name.