Added default maximum value.