changed console.warn into throw
named functions are not required anymore by $super