Make IfElse a subclass of If