Removed types from method signatures in Widget subclasses.