Rewrite func (universal function reference type).