Added methods 'setTimeout:' and 'runLoopWait'