Fixed undocumented return values.