Use a raw pointer instead of shared. Refs #8442.