Remove not used patterns, hide sessionId.