Cleanup of brackets.