Clean up brackets.cpp