Refactor GC request handling.