old_contents: 'use strict';
  
  const { GLib } = imports.gi;
  
  /* exported setTimeout */
  function setTimeout(func, millis) {
    return GLib.timeout_add(GLib.PRIORITY_DEFAULT, millis, () => {
      func();
      // Don't repeat
      return false;
    });
  }
  
  /* exported clearTimeout */
  function clearTimeout(id) {
    return GLib.Source.remove(id);
  }
  
  /* exported setInterval */
  function setInterval(func, millis) {
    return GLib.timeout_add(GLib.PRIORITY_DEFAULT, millis, () => {
      func();
      // Repeat
      return true;
    });
  }
  
  /* exported clearInterval */
  function clearInterval(id) {
    return GLib.Source.remove(id);
  }
  
  /* exported debounce */
  function debounce(func, millis) {
    let timer = null;
    return function debounceInner(...args) {
      const context = this;
      if (timer !== null) {
        clearTimeout(timer);
      }
      timer = setTimeout(() => {
        func.apply(context, args);
        timer = null;
      }, millis);
    };
  }
  
new_contents: 'use strict';
  
  const { GLib } = imports.gi;
  
  /* exported setInterval */
  function setInterval(func, millis) {
    return GLib.timeout_add(GLib.PRIORITY_DEFAULT, millis, () => {
      func();
      // Repeat
      return true;
    });
  }
  
  /* exported clearInterval */
  function clearInterval(id) {
    return GLib.Source.remove(id);
  }
  
subject: Remove unused functions