Remove empty curly braces in object/class declarations