Joining only works for strings. Make it generic.