Added explicit nil to function return.