Adding getPresets() and deprecating presets() function.