added support for remove action.