Use raw pointer instead of shared. Refs #7636.