Customize custom directive.