Added Docstring to methods definitions.