Add dmax and tmax attributes