Fixed getType.