Respects the synchronized modifier of a method.
Merge pull request #27 from sergeds/master

Respects the synchronized modifier of a method.