Added duration and easing support.