refactoring. Refs #CORE-851.