What was the motivation for adding size, duration, currentTime attributes here?