Updated CSPOM API for variable declaration