Made public the constructor of Transact