Remove warnings about implicit conversions