Dialyzer is now happy, correct tree type is emitted depending on the type.