Added splice method.