Update documentation to include nil return value