yeah, unfortunately the ModuleResource class requires no-arg constructor for serialization.