Needed to make my listeners variable threadsafe.