Can you just remove/comment out the typedef using `inreplace` instead?