Updated docs and lib