Added setPositions operations.