Add deprecated variable message.