Restored missing Resource Class caching.
This impoves performace by an order of magnitude.
Added way to log the reflection time.