Try to handle unrecognised terminals.