Refactored the feature of transactional operations.