Added ReferenceCounter and Synchronized.