Forking functions better with the various traps the extensions use.