Needed to inject the proper directive.