ENH: Fixes for DIO api. returns single ints now