remove API, add docs in runtimeiospatch.h