This should also be Transaction class.