slice is more relaxed about numeric vectors, e.g. slice(1) also works, not just slice(1L). #226