Disabled the reflection and added debug code.