Add property 'wakeUpMainThread'.