Fixing spacing issues with colon blocks and curly braces