Improved documentation of consts and functions.