Collection support.
Use symbol when accessing params.
Add debugging.
Actually fetch the collection doc.
Remove debugging output.