Implement instruction replacer
Protect the module attribute