Added a method to the delegate of the editor VC.