Refs #5004 remove unused code