Fixed #149.

Stopped using synchronized macro.