Avoid empty attribute blocks.