Added sealing of the context for security.