Document canvasPool
Add missing braces