Modified methods to be synchronized, to prevent
ConcurrentModificationException