Fix return values in code documentation.