Updated functionality of 'remove()' module.