Added deprecation comments to methods.