Removing unnecessary widgets from module.