Refactor `bin` responder. Add validators.