add basic deprecation warning system