[Refactoring] Replaced all callback(undefined) with callback(null).