Updated library code.