Fix missing functions