Remove this unneccessary `null` checks. It kills unit testing.