Adding initial dereferencing options and local functions