Open
Description
#98 introduced that function to fix a bug in the type detection phase, but (as discussed in that issue) it should be possible to do without it and instead directly use the parsing kernels. Refactoring the type detection phase to such a construction would reduce code dupcliation.