Fixed getSlice, insert, get and containsKey