Remove newSecurityManager and history miration