SLAP Interface: Add Partition.getType.