Add documentation for new functions.