Changed `target` into `duration` and made Public.