Abstract the options to a snippet