Use the plugin API to the getter and setters

To avoid having to redefine these methods on the deprecated plugin we
should be using the sanitizer_vendor API.