Change id and buffer length type.