That's the reason for the `synchronized` here.