Added missing duration parameter.