Refactored instance processor