core: Allow options to be passed down into SF cleanup