Updated lib and docs.

Signed-off-by: Grant Skinner <info@gskinner.com>