Updated docstring with optional kwarg.