Documentation samples

Updated a lot of documentation samples.