Initial implementation of SessionPlugin