Refactored allergies, and using templates now.