Mark some core methods as synchronized to work properly in multithreaded environments