Use Class.getSimpleName() instead of sub-string