Add transactional decorator util