I think just having Ackroyd saying “I ain’t afraid of no ghosts” would have been enough. I don’t think they needed the bit on him actually knowing about ghosts. I think it would have made the scene move better without being so heavy on the winking at the audience.