Revert changes for insert and add binary to list of types that have lengths