Fix documentation and conversion warning