Added in D3 custom directives