Removes misc. brackets