Fixes issue #58. Now editing modules works as intended.