Remove legacy Risk code.