Add method documentation

Signed-off-by: Bryan te Beek <bryantebeek@gmail.com>