Fix AIOB exception, causes problems further downstream. Seems to be because we're parsing code with generics, badly.