Removed excessive synchronization.