CamelCase CompareResult constants and other minor API fixups