Add missing "use strict; use wraning;"
Fix wrong type constraints.