Needs to be overridden in sub template