Remove unnecessary qualifiers
Avoid unnecessary nullptr checks