Fixed the directive/stub and the directive/mock.