The house elf nodded. "Herpy was asked to make a surprise cake for Harry Potter's birthday. Since Master Granger is his friend, Herpy thought it would be okay. She cannot bake a cake in secret around Harry Potter, you see."