Add docstring for all methods

Tests: