Add support for custom presets using a callback.