Remove redundant check for nil.