Added a shortcut syntax for the configuration of sessions