Clean-up of WIMRDetailViewController.