Remove unnecessary synchronized keyword.