Revert "Add support for synchronized methods"

This reverts commit a2ab8beb198c43548d960ef52e3953aca665258c.