Updated docs; added examples