Avoid unnecessary type lookups

refs #7622