Richard Castle said this quote

I actually do have a motto,” said Heat. “It’s ‘Never forget who you work for.' And as she voiced the words, Nikki felt a creeping unease. It wasn’t exactly shame, but it was close. For the first time it sounded hollow. Fake. Why? She examined herself, trying to see what was different. The stress, that was new. And when she looked at that, she recognized that the hardest part of her day lately was working to avoid confrontation with Captain Montrose. That’s when it came to her. In that moment, sitting nearly naked in Rook’s living room, playing some silly nineteenth-century parlor game, she came to an unexpected insight. In that moment Nikki woke up and saw with great clarity who she had become - and who she had stopped being. Without noticing it, Heat had begun seeing herself as working for her captain and had lost sight of her guiding principle, that she worked for the victim.