Use consistent null pointer check style