We already construct the shared pointer for the module. Avoid creating a shadow copy and use the original definition.