Adds support to work with curly braces as well