Generalize presets handler class