Add docstring to Transaction class and change enter method