You can simply pass Nil and None when the settings don't matter. Will make this code shorter.