Remove unnecessary functions - removeComponent() and canBeRemoved()