IsTemplate* to IsBase* fix