An GC implementation can be found in the 433lirc module.