Fix for className regression mentioned in #83.