some changes reverted

there was really no need to expose the xmi_read_input_* section
functions