Fix inserting to the hash.
Fix C modules initialization on restart.