I think maybe this should be collections (and rename pattern to patterns?)