Updates to lib.