After he bonded with all three of them, he told them about their task. Draco ordered them to rest, eat, drink properly, never to punish themselves, to keep his and Hermiones secrets, to keep hers away from him, and to keep her safe no matter what. Each elf would work 8 hours a day and never reveal themselves to his family, friends or Hermione as long as they don't have to. 