support old-style collections (issue #18)