Fix bug with anonymous module and the SafeObject/SafeEmbed modules.