remove useless usage of self. in NSWindowTemplate.j