Add field to check when motion reads proto / eliminate some warnings