Added docstrings and fixed method naming consistency