Add documentation
(cherry picked from commit 4fd969e)