It would be nice if we could only register this wrapper if security manager is enabled. to remove performance overhead if it is not.