Why ints on all of these rather than a status enum? Design choice? Unknown set of result codes?