Removed useless synchronized blocks