More api doc work, added instr and io