fix(misc): Correct some deprecated/notice (refs #4763)