Adding loaded native lib at shutdown + fixing doc