Added proper doc string with examples.