Fix bug that was trying to incorrectly trying to load class name from va...

...riable className instead of contextClassName