Add native structure for comparison. Closes #2.