Clean up view permission procedures.