Docstring added for action function.