Updated library docs to new syntax