Added method documentation snippet.