Adding Container trait along with implementation for strings and slices.