Sometimes, when Maya was a big, good dog, she’d get a treat.