Helps avoid NullReference Exceptions.