Add validation of the given source to Collection::from()