code: function(animation) {
  
  		var template = this._templates_by_animation_guid[animation.guid];
  
  		if (animation.isReversed()) {
  
  			this._onRemovalComplete(animation, template);
  			this._fire('removal_complete', template);
  
  		} else {
  
  			this._onInsertionComplete(animation, template);
  			this._fire('insertion_complete', template);
  
  		}
  
  		delete this._templates_by_animation_guid[animation.guid];
  		delete this._animations_by_template_guid[template.guid];
  
  	}
docs: Cleanup animation instance and update state of it's template
  @param {Lava.animation.Abstract} animation