documentation repaired for lib, without externals