Add snippet documentation.