Improve the security module.