Vanilla - Classes v 1.0.1 : check type of classname

fixes #5