Added deprecation warning to usage