Add $ref property and 'watch' option.