Added try/catch to module inits