Added a deprecation Error