Documentation of two functions.