Add more rdocs and change examples