Add deprecation messages to karma and plusplus. 

Fixes #1456. cc @ajacksified @patcon #1440