Federer attributed his renaissance to rediscovering full fitness after knee surgery in 2016 and taking a two-month break from the game earlier this year.