Adding sim.capt documentation and exporting function.