added spy directives