removed functionality and added deprecated warning