Added decoration-based retry logic.