simplify __extends because closure compiler doesn't inherit static methods