Add constructor parameter for hiding the time controls.