All these installations were ruined during the Northern War and were rebuilt soon after the war by Russians. Three unfinished ravelins were finished too.