Add missing functions