You don't need the empty parens `()` if there are no constructor arguments; just do `class X extends Y`.