Make hardware_interface compile again.
Remove unused messages.