Deprecate old ways.