Remove redundant defensive programming.