Re: Anti-Spock racism/general disrespect for the XO
There was all that stuff in Day of the Dove, but that was being manipulated by the alien.
There's a story that when Scott says "Keep your Vulcan hands off me!", the director suggested to James Doohan that he pronounce "Vulcan" as if he were saying a certain expletive. Doohan grinned appreciatively.
Dr. Howard, Dr. Fine, Dr. Howard: For duty and humanity! --Men in Black (1934)