Work around removal of `Collection` trait from stdlib

Closes #8 
cc @tolgap