Updated docs and samples.