Rewritten the implementation and got rid of session interfaces. Now storage should be used instead.