added support for class names which have capital letters in the middle