Fix #11. added deprecated message.