Move local type to be able to use in a vector. Refs #6316