Removes undefined from the closure arguments
Updates the to do list