Fixed performance issues while writing stats
Excluding synthetic classes from instrumentation