Add setTimeout and clearTimeout