Changed how :remote and :submit operations work so that plugins can take advantage of them.