Create a session_preparation method so __init__ method is duplicated less frequently