Add type for html plugin handlers