[ADDED]    Added invalidate() to Security.