Removed all usages of synchronized keyword