Fix developer mode strict notice.
(cherry picked from commit e31ceba)