Rename add dock methods to view/editor