Delete trailing comma, add require property