Refactored ActiveAttrProcessor and InactiveAttrProcessor because of DRY