removed unnecessary function

since I've moved the functions to the editor and session objects
themselves I can get rid of this.