Refs #3141: only use the protective class when necessary