Remove unnecessary defines
Rename allowedToDeleteWidget -> Component