Added "session"-value for period in set-method;
Added minified version