Suspicious null here. Instead of getType(null), why not just Type.STRING?