Change function documentation to be consistent