Add 'implicit none' to modules