Update contracts for html usage.

Signed-off-by: crynobone <crynobone@gmail.com>