Refactor kill class, and add validations in slave_status.