Added documentation to Transaction class