add factory wakeup/retire callbacks