Move local type to class level for use as template Refs #6316