Fix NPE on class name

Signed-off-by: Chris Sanders <zidane@outlook.com>