Adds support for removing widgets