Deprecate a few methods.