Fix bug that was trying to incorrectly trying to load class name from variable className instead of contextClassName