Add a module identifier directive to protect from external registrations.