Remove endif from Base