Add logging for Modules