Remove unnecessary to_bytes call