add the necessary hooks and change the SessionImpl accordingly. Still using the old access method for any real code