Fix for Typescript inheritance with ES5/Angular ( and ko).