Prevent creation of empty class names. Closes #9.