Removed the default nulls of functions cause it's the default of javascript