Add missing strict declaration from #331 and this pr.

Applies to #330 and required by #255