Clean up the reflection exception mess