Add basic support for slice types. #3