Guard against forget() function not existing.