Castle mentions "liking the weird stuff", a subtle reference to his role in Dr. Horrible's Sing Along Blog which would be easily dismissed if not for his sly grin after he says it, much like the references to the show Firefly that he also starred in.
Castle mentions that making people believe they have done something, like commiting a murder by planting it in their heads while under the influence of drugs, comes "straight out of Inception".