Added support for removing history item