Added support for recursive types to the reflection API.