Use a pluggable API