Simplified the transactions API.