Restore legacy formula support