Rename methods. Remove useless dialog.