Write collection routes more compactly. Closes #74.