Refactoring valid/invalid responses name.