Changed SafeSynchronization.java to also use fields for a selected
class.