Add html generation.