Updated return code documentation