Changed and docstring added.