Remove redundant call to setTemplatesDirector method.