Extend some funcs for the built-in slice.