Defining default options, avoiding deprecated functions