Naming fix and added docstring.