Added animation constructor.

This is called timing in the current spec.